<%@ page import="cn.com.dhcc.app.core.PluginPara"%>
<%@ page import="cn.com.dhcc.app.core.CoreEnv.CoreInitCtx"%>
<%@ page import="cn.com.dhcc.app.core.base.BaseController"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page    import="java.text.DateFormat"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib 	prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%@ taglib 	prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib 	prefix="app" uri="http://dhcc/apptag"%> 
<%@ taglib 	prefix="cm" uri="http://dhcc/cmtag"%>
<%
String path = request.getContextPath();
String ctxPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("ctx", path);
request.setAttribute("base", path);
request.setAttribute("ctxPath", ctxPath);
request.setAttribute("appname", CoreInitCtx.appName);

request.setAttribute("productMode", CoreInitCtx.isProductMode());
boolean isSlUams = PluginPara.UamsPluginPara.isSLUAMS();
pageContext.setAttribute("isSlUams", isSlUams);
request.setAttribute("hasSafeRole", BaseController.hasSafeRole(session));
request.setAttribute("hasSysMgrRole", BaseController.hasSysMgrRole(session));
request.setAttribute("hasBusiRole", BaseController.hasBusiRole(session));
request.setAttribute("roleTypeStr", BaseController.getRoleTypeStr(session));
%>